package com.chinaedu.oc.po.commodity;
/***********************************************************************
 * Module:  CommodityProduct.java
 * Author:  Administrator
 * Purpose: Defines the Class CommodityProduct
 ***********************************************************************/


/**
 * 商品产品关联
 * 
 * @pdOid 2f61bcf0-ef34-44f6-b453-12d73b56fe13
 */
public class CommodityProduct {
	/**
	 * 关系表id
	 * 
	 * @pdOid d52a22c6-7252-4092-9241-eef00a9658bd
	 */
	private String id;
	/**
	 * 产品元素id
	 * 
	 * @pdOid 1a836c6d-9020-47bc-b988-c748944c2323
	 */
	private String productId;
	
	/**
	 * 商品名
	 */
	private String commodityName;
	
	/**
	 * 产品数量
	 * 
	 * @pdOid 62231190-322d-4016-947e-168bbd9c1ec5
	 */
	private Integer number;
	/**
	 * 产品来源
	 * 
	 * @pdOid b5a9b376-b7ff-4465-bed0-92f545a3e3c3
	 */
	private String productSource;

	/**
	 * 商品ID
	 * 
	 * @pdOid c3de7b75-3974-4d85-b173-86e34c5fc3c6
	 */
	private String commodityId;

	/**
	 * 产品原价
	 */
	private Integer productOriginalPrice;
	
	/**
	 * 产品当前价格(以分做单位)
	 * 
	 * @pdOid b236cafe-622f-4ab8-a425-e9ea4965dc4f
	 */
	private Integer productCurrentPrice;
	/**
	 * 单价(以分做单位)
	 * 
	 * @pdOid 8383f83c-64e0-4a6a-bfe5-282c9ebb2fd9
	 */
	private Integer unitPrice;
	

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public String getProductSource() {
		return productSource;
	}

	public void setProductSource(String productSource) {
		this.productSource = productSource;
	}

	public String getCommodityId() {
		return commodityId;
	}

	public void setCommodityId(String commodityId) {
		this.commodityId = commodityId;
	}

	public Integer getProductOriginalPrice() {
		return productOriginalPrice;
	}

	public void setProductOriginalPrice(Integer productOriginalPrice) {
		this.productOriginalPrice = productOriginalPrice;
	}

	public Integer getProductCurrentPrice() {
		return productCurrentPrice;
	}

	public void setProductCurrentPrice(Integer productCurrentPrice) {
		this.productCurrentPrice = productCurrentPrice;
	}

	public Integer getUnitPrice() {
		return unitPrice;
	}

	public void setUnitPrice(Integer unitPrice) {
		this.unitPrice = unitPrice;
	}

	public String getCommodityName() {
		return commodityName;
	}

	public void setCommodityName(String commodityName) {
		this.commodityName = commodityName;
	}

	@Override
	public String toString() {
		return "CommodityProduct [id=" + id + ", productId=" + productId + ", commodityName=" + commodityName
				+ ", number=" + number + ", productSource=" + productSource + ", commodityId=" + commodityId
				+ ", productOriginalPrice=" + productOriginalPrice + ", productCurrentPrice=" + productCurrentPrice
				+ ", unitPrice=" + unitPrice + "]";
	}

	
}